How to Restart the Web | 您所在的位置:网站首页 › restart software › How to Restart the Web |
1. Here are web-related processes.聽聽
> debug software restart process web-backend
> debug software restart process web-server
> debug software restart process sslvpn-web-server
We can see restart information to run 'debug software restart process ?' command as follow:聽
admin@PA> debug software restart process ?
web-backend Management web server backend process
web-server Management web server process
sslvpn-web-server SSL VPN Web server process
2. Check process pid which you want to restart before restarting the process to enter the CLI command: [debug software restart process web-backend] admin@PA> show system software status | match web_backend Process web_backend running (pid: 3689) [debug software restart process web-server] admin@PA> show system software status | match websrvr Process websrvr running (pid: 3686) [debug software restart process sslvpn-web-server] admin@PA> show system software status | match sslvpn Process sslvpn running (pid: 3699) 3. Restart process which you want to restart to enter the CLI command:[debug software restart process web-backend] admin@PA> debug software restart process web-backend Process web_backend was restarted by user admin [debug software restart process web-server] admin@PA> debug software restart process web-server Process websrvr was restarted by user admin[debug software restart process sslvpn-web-server] admin@PA> debug software restart process sslvpn-web-server Process sslvpn was restarted by user admin 4. Check the process pid was changed to enter the CLI command:[debug software restart process web-backend] admin@PA> show system software status | match web_backend Process web_backend running (pid: 15924) [debug software restart process web-server] admin@PA> show system software status | match websrvr Process websrvr running (pid: 16083) [debug software restart process sslvpn-web-server] admin@PA> show system software status | match sslvpn Process sslvpn running (pid: 16276) 5. You can also see the restarting behavior to check masterd.log as follow:[debug software restart process web-backend] admin@PA> tail mp-log masterd.log 2020-01-21 12:24:09.152 +0900 INFO: web_backend: received user restart 2020-01-21 12:24:09.152 +0900 INFO: web_backend: User restart reason - triggered by CLI 2020-01-21 12:24:09.152 +0900 INFO: web_backend: received user stop 2020-01-21 12:24:19.781 +0900 INFO: web_backend: exited, Core: False, Exit code: 0 2020-01-21 12:24:19.996 +0900 INFO: web_backend: process running with pid 15924 [debug software restart process web-server] admin@PA> tail mp-log masterd.log 2020-01-21 12:25:43.737 +0900 INFO: websrvr: received user restart 2020-01-21 12:25:43.737 +0900 INFO: websrvr: User restart reason - triggered by CLI 2020-01-21 12:25:43.737 +0900 INFO: websrvr: received user stop 2020-01-21 12:25:43.749 +0900 INFO: websrvr: exited, Core: False, Exit code: 0 2020-01-21 12:25:43.862 +0900 INFO: websrvr: process running with pid 16083 [debug software restart process sslvpn-web-server] admin@PA> tail mp-log masterd.log 2020-01-21 12:27:28.619 +0900 INFO: sslvpn: received user restart 2020-01-21 12:27:28.619 +0900 INFO: sslvpn: User restart reason - triggered by CLI 2020-01-21 12:27:28.619 +0900 INFO: sslvpn: received user stop 2020-01-21 12:27:28.749 +0900 INFO: sslvpn: exited, Core: False, Exit code: 0 2020-01-21 12:27:28.965 +0900 INFO: sslvpn: process running with pid 16276 聽 |
CopyRight 2018-2019 实验室设备网 版权所有 |